package org.aeon.gamechatnest.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 不同频道下角色的权限关系表
 *
 * @TableName role_channel_authority
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("role_channel_authority")
public class RoleChannelAuthority implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 角色id
     */
    @TableId
    private Long roleChannelId;
    /**
     * 权限id
     */
    private Long authorityId;
}
